{template 'yellowpage_header.html','yellowpage'}


<div class="container">
	<div class="aside">
    	
        {if $m_user}
        <div class="mod">
            <div class="head">热点导航</div>
            <div class="body">
                <ul>
                {loop $m_user $ms}
                  <li><a href="{$ms[url]}">{$ms[catname]}</a></li>
                {/loop}
                </ul>
            </div>
        </div>
        {/if}
        
        <div class="mod">
            <div class="head">热点产品</div>
            <div class="body">
                <ol>
                    {get sql="SELECT * FROM `table_yellowpage_product` `p` WHERE `p`.`userid`='$userid' AND `p`.status=99" rows="10"}
                    <li><a href="{url($r[url])}" title="{$r[title]}">{str_cut($r[title],28,'')}</a></li>
                    {/get}
                  </ol>
            </div>
        </div>
        
        <div class="mod">
            <div class="head">站内搜索</div>
            <div class="body">
                <form class="box" action="{$M['url']}web/query.php">
                  <input type="text" name="q" size="16"/><input name="search" type="submit" id="search" value="搜索"/><br/>
                  <input type="radio" name="type" checked="checked" value="product"/>商品<input type="radio" name="type" value="buy"/>商机<input value="news" type="radio" name="type"/>新闻<input type="hidden" value="search" name="action" /><input name="userid" value="{$userid}" type="hidden" />
                </form>
            </div>
        </div>
            
    </div>
    <div class="main">
    	
        <div class="mod">
            <div class="head">{$system_name[$category]}</div>
            <div class="body">
                <h2>{$title}</h2>
                <ul>
                  <li>所属分类：{$CATEGORY[$catid][catname]}</li>
                  <li>产品型号：{$standard}</li>
                  <li>产品价格：{if $price}{$price} 元/{$quantifier}{else}<a href="{$siteurl}/category-guestbook/label-product/id-{$id}.html">我要询价</a>{/if}</li></li>
                  <li>计量单位：{$quantifier}</li>
                  <li>更新时间：{date('Y-m-d',$updatetime)}
                  </li>
                  <li><a href="{$siteurl}/category-guestbook/label-product/id-{$id}.html"><img src="yp/images/xunjia.gif" alt="我要询价" align="absmiddle" border="0"/></a> <span id="favoriteid">
                  <script type="text/javascript" id="callback_js"></script>
                  <script language="JavaScript" src="{$SETTING[siteurl]}yellowpage/collect.php?userid={$userid}&title={$title}&returnid=favoriteid&callback_js=callback_js&referer={urlencode(URL)}"></script></span></li>
                </ul>
                <img src="{thumb($thumb,210,240)}" alt="{$title}" width="210"/>
            </div>
        </div>
        
        <div class="mod">
            <div class="head">详细说明</div>
            <div class="body">
                {$content}
            </div>
        </div> 
        
        
    </div>
    <p class="clear"></p>
</div>
 
{template 'yellowpage_footer.html','yellowpage'} 